package com.quectel.emp.vo.deptperson.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 重置密码
 *
 * @author: caolu
 * @email: louis.cao@quectel.com
 * @date: 2022-05-17 11:29:00
 */

@Data
@Schema
public class ResetPasswordVo {

    /**
     * 社区编码
     */
    @Schema(description = "社区编码")
    @NotNull(message = "社区编码不能为空")
    private String villageCode;
    /**
     * 手机号
     */
    @Schema(description = "手机号")
    @NotNull(message = "手机号不能为空")
    private String mobile;

    /**
     * 验证码
     */
    @Schema(description = "验证码")
    @NotNull(message = "验证码不能为空")
    private String verCode;

    @Schema(description = "新密码")
    @NotNull(message = "新密码不能为空")
    private String newPassword;
}
